@import './mixin.scss';
// 设置安全距离
.container{
    width: 1226px;
    position: relative;
    margin-right: auto;
    margin-left: auto;
}
a{
    img{
        width: 100%;
        height: 100%;
    }
}
input{
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
}
// 通用浮动
.fl{
    float: left;
}
.fr{
    float: right; 
}
// 清除浮动——伪类
.clearfix:before,.clearfix:after{
    content: ' ';
    display: table;
}  
.clearfix:after{
    clear: both;
}

// 公共 logo
.header-logo{
    display: inline-block;
    width: 55px;
    height: 55px;
    background-color: #FF6600;
    // overflow: hidden;
    a{
        display: inline-block;
        width: 110px;
        height: 55px;
        // 使用伪类放置两张图片
        &:before{
            // 置空，占位
            content: ' ';
            @include bgImg(55px,55px,'/imgs/mi-logo.png',55px);
            transition: margin 0.2s; 
        }
        &:after{
            // 置空，占位
            content: ' ';
            @include bgImg(55px,55px,'/imgs/mi-home.png',55px);
        }
        &:hover:before{
            margin-left: -55px;
            transition: margin 0.2s;
        }
    }
}